﻿using WMS.FC.Domain.DomainObject.System;
using WMS.FC.Domain.DomainObject.User;

namespace WMS.FC.Domain.Service.User.Interface
{
    public interface ICheckUserLoginService
    {
        /// <summary>
        /// 校验用户登录
        /// </summary>
        /// <param name="userAccount"></param>
        /// <param name="password"></param>
        /// <param name="userInfo"></param>
        /// <returns></returns>
        Task<ActionResult<UserDO>> CheckUserLogin(string userAccount, string password, UserInfo userInfo);

        Task<ActionResult<string>> ChangePassword(string userName, string password, string newPassword, UserInfo userInfo);
    }
}
